/* eslint-disable */
import $ from 'jquery';

export default () => {
    var wW, wH
    wH = $(window).height()

    function iniStage() {
        wW = $(window).width(), wH = $(window).height()
        var realHeight = wH * 750 / wW;
        $(".box,.page").css({ "height": wH, "overflow": "hidden" })

        if (realHeight <= 1130) {
            //	适配微信白条
        }

    }
    iniStage();
    $(window).on("resize", function (event) {
        iniStage();
    });
    alert('调用成功')
    //  禁止微信上下弹性滑动
    document.addEventListener('touchmove', function (e) {
        if (!$(e.target).data("scroll")) {
            e.preventDefault();
        }
    }, { passive: false });
}